
//------------------------------------------------------------------------------

namespace Apps.Models
{
     using System.ComponentModel.DataAnnotations.Schema;
    using System;
    using System.Collections.Generic;
    
    [Table("WC_OFFICALACCOUNTS")] 
     public partial class WC_OfficalAccounts
    {
        public WC_OfficalAccounts()
        {
            this.WC_MessageResponse = new HashSet<WC_MessageResponse>();
            this.WC_ResponseLog = new HashSet<WC_ResponseLog>();
            this.WC_Group = new HashSet<WC_Group>();
            this.WC_User = new HashSet<WC_User>();
        }
    
        [Column("ID"), System.ComponentModel.DataAnnotations.Key] 
     public string Id { get; set; }
        [Column("OFFICALID")] 
     public string OfficalId { get; set; }
        [Column("OFFICALNAME")] 
     public string OfficalName { get; set; }
        [Column("OFFICALCODE")] 
     public string OfficalCode { get; set; }
        [Column("OFFICALPHOTO")] 
     public string OfficalPhoto { get; set; }
        [Column("OFFICALKEY")] 
     public string OfficalKey { get; set; }
        [Column("APIURL")] 
     public string ApiUrl { get; set; }
        [Column("TOKEN")] 
     public string Token { get; set; }
        [Column("APPID")] 
     public string AppId { get; set; }
        [Column("APPSECRET")] 
     public string AppSecret { get; set; }
        [Column("ACCESSTOKEN")] 
     public string AccessToken { get; set; }
        [Column("REMARK")] 
     public string Remark { get; set; }
        [Column("ENABLE")] 
     public bool Enable { get; set; }
        [Column("ISDEFAULT")] 
     public bool IsDefault { get; set; }
        [Column("CATEGORY")] 
     public int Category { get; set; }
        [Column("CREATETIME")] 
     public System.DateTime CreateTime { get; set; }
        [Column("CREATEBY")] 
     public string CreateBy { get; set; }
        [Column("MODIFYTIME")] 
     public System.DateTime ModifyTime { get; set; }
        [Column("MODIFYBY")] 
     public string ModifyBy { get; set; }
    
        public virtual SysUser SysUser { get; set; }
        public virtual ICollection<WC_MessageResponse> WC_MessageResponse { get; set; }
        public virtual ICollection<WC_ResponseLog> WC_ResponseLog { get; set; }
        public virtual ICollection<WC_Group> WC_Group { get; set; }
        public virtual ICollection<WC_User> WC_User { get; set; }
    }
}
